package transformation;

import java.io.BufferedReader;
import java.io.FileReader;
import java.io.IOException;

/**
 * @author 培培
 * @condition 努力学习中
 */
public class CodeQuestion {
    public static void main(String[] args) throws IOException {

        //创建字符输入流 BufferedReader （处理流）
        //默认情况下 的编码格式是 UTF-8
        String filePath = "d:\\story.txt";
        BufferedReader br = new BufferedReader(new FileReader(filePath));

        String s = br.readLine();
        System.out.println("读取的内容：" + s);
        br.close();
    }
}
